package lesson02;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;


public class TestMain10 {
    public static void main(String[] args)  {

        // 读取文件
//        FileInputStream fis = new FileInputStream("D:/a.txt");

//        int a = 10;
//        System.out.println(a / 0);
//        System.out.println("----------");

//        Object o = null;
//        System.out.println(o.toString());


//        int[] a1 = new int[2]; // {0, 0}
//        System.out.println(a1[0]);
//        System.out.println(a1[2]);
//        System.out.println(a1[1]);

//          M a1 = new M1();
//          M1 a2 = (M1) a1; // 把父类强转成子类
//          M2 a3 = (M2) a1;


        System.getProperty("");
        int a = Integer.parseInt("ajflasjfla");
        System.out.println(a);
    }
}
class M {

}
class M1 extends M {

}
class M2 extends M {

}
